Skip to content

Add back a BOM check in wordlist.c that was mistakenly dropped#5973

Merged
magnumripper merged 1 commit intoopenwall:bleeding-jumbofrom
magnumripper:wl-bom
Apr 9, 2026
Merged

Add back a BOM check in wordlist.c that was mistakenly dropped#5973
magnumripper merged 1 commit intoopenwall:bleeding-jumbofrom
magnumripper:wl-bom

Conversation

@magnumripper
Copy link
Copy Markdown
Member

It was dropped in a7c8fa6 for reasons unknown. In certain situations (the combination of node/fork, mmap, rules, UTF-8 input encoding and reading a UTF-8 BOM) this lead to problems. The UTF-8 BOM should never be there in the first place but we need to handle it without crashing or aborting.

Closes #5968

It was dropped in a7c8fa6 for reasons unknown. In certain situations
(the combination of node/fork, mmap, rules, UTF-8 input encoding and
reading a UTF-8 BOM) this lead to problems. The UTF-8 BOM should never
be there in the first place but we need to handle it without crashing
or aborting.

Closes openwall#5968
@magnumripper magnumripper merged commit adb2118 into openwall:bleeding-jumbo Apr 9, 2026
33 of 34 checks passed
@magnumripper magnumripper deleted the wl-bom branch April 9, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check_bom missing in do_wordlist_crack lead to Error: wordlist grew as we read it - aborting

1 participant